﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MovieRental.GeneralDataExceptions
{
    public class ItemNotFoundException : DbException
    {
        private const string _notFound = "Item {0} was not found in the database.";
        public ItemNotFoundException(string id, Exception innerException)
            :base(string.Format(_notFound, id), innerException)
        {

        }
    }
}
